package test.net.uni.ap.dao;

import java.io.Serializable;
import java.sql.Connection;
import java.util.Collection;
import java.util.List;
import java.util.Map;

import net.uni.ap.dao.AbstractBaseDAO;
import net.uni.ap.exp.DAOException;
import net.uni.util.Page;

import org.springframework.jdbc.core.RowMapper;

public class BaseTestDAOImpl extends AbstractBaseDAO implements IBaseTestDAO {

	@Override
	public Page testDao() {
		StringBuffer sql = new StringBuffer("select * from manage_admin");
		List list = this.getSession().createSQLQuery(sql.toString()).list();
		Page page = new Page();
		page.setList(list);
		return page;
	}

	@Override
	public Connection get() throws DAOException {
		return null;
	}
}
